package com.etc.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.etc.entity.Media;
import com.etc.tools.PageData;

public interface MediaService {

	boolean deleteByPrimaryKey(Integer mid);

	boolean insert(Media record);

	boolean insertSelective(Media record);

	Media selectByPrimaryKey(Integer mid);

	boolean updateByPrimaryKeySelective(Media record);

	boolean updateByPrimaryKey(Media record);

	List<Media> getAllMedia();

	PageData<Media> getMediaByPage(int page, int pageSize, String content);
}
